public class ServletLogin extends HttpServlet{
	
	protected void doGet(HttpServletRequest request,
			HttpServletResponse response) throws IOException {
			response.setCharacterEncoding("utf-8");
			response.setContentType("text/html; charset=utf-8");
			
			String zhanghao= new String(request.getParameter("zhanghao").getBytes("ISO-8859-1"), "utf-8");
			String mima=new String(request.getParameter("mima").getBytes("ISO-8859-1"),"utf-8");
			
			BIllLogin bIllLogin =new BIllLogin();
            boolean match =bIllLogin.result(zhanghao, mima);
            
			PrintWriter ptWrite = response.getWriter();
      
            ptWrite.print(match);
            ptWrite.close();
	}
}